import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/index'
import chooseWay from '@/pages/chooseWay'
import manualLogin from '@/pages/manualLogin'
import register from '@/pages/register'
import bar from '@/components/bar'
import profile from '@/pages/profile'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Index
    },
		{
		  path: '/pages/chooseWay',
		  name: 'chooseWay',
		  component: chooseWay
		},
		{
		  path: '/pages/manualLogin',
		  name: 'manualLogin',
		  component: manualLogin
		},
		{
		  path: '/pages/register',
		  name: 'register',
		  component: register
		},
		{
		  path: '/components/bar',
		  name: 'bar',
		  component: bar
		},
		{
		  path: '/pages/profile',
		  name: 'profile',
		  component: profile
		}
  ]
})
